home *** CD-ROM | disk | FTP | other *** search
- #
- # (C) Tenable Network Security
- #
- #
- # The text of this plugin is (C) Red Hat Inc.
-
- if ( ! defined_func("bn_random") ) exit(0);
- if(description)
- {
- script_id(12421);
- script_version ("$Revision: 1.3 $");
- script_cve_id("CAN-2003-0682", "CAN-2003-0693", "CAN-2003-0695");
-
- name["english"] = "RHSA-2003-280: openssh";
-
- script_name(english:name["english"]);
-
- desc["english"] = '
-
- Updated OpenSSH packages are now available that fix bugs that may be
- remotely exploitable.
-
- [Updated 17 Sep 2003]
- Updated packages are now available to fix additional buffer manipulation
- problems which were fixed in OpenSSH 3.7.1. The Common Vulnerabilities and
- Exposures project (cve.mitre.org) has assigned the name CAN-2003-0695 to
- these additional issues.
-
- We have also included fixes from Solar Designer for some additional memory
- bugs. The Common Vulnerabilities and Exposures project (cve.mitre.org) has
- assigned the name CAN-2003-0682 to these issues.
-
- OpenSSH is a suite of network connectivity tools that can be used to
- establish encrypted connections between systems on a network and can
- provide interactive login sessions and port forwarding, among other
- functions.
-
- The OpenSSH team has announced a bug which affects the OpenSSH buffer
- handling code. This bug has the potential of being remotely exploitable.
- The Common Vulnerabilities and Exposures project (cve.mitre.org) has
- assigned the name CAN-2003-0693 to this issue.
-
- All users of OpenSSH should immediately apply this update which contains a
- backported fix for this issue.
-
-
-
-
- Solution : http://rhn.redhat.com/errata/RHSA-2003-280.html
- Risk factor : High';
-
- script_description(english:desc["english"]);
-
- summary["english"] = "Check for the version of the openssh packages";
- script_summary(english:summary["english"]);
-
- script_category(ACT_GATHER_INFO);
-
- script_copyright(english:"This script is Copyright (C) 2004 Tenable Network Security");
- family["english"] = "Red Hat Local Security Checks";
- script_family(english:family["english"]);
-
- script_dependencies("ssh_get_info.nasl");
-
- script_require_keys("Host/RedHat/rpm-list");
- exit(0);
- }
-
- include("rpm.inc");
- if ( rpm_check( reference:"openssh-3.1p1-14", release:"RHEL2.1") )
- {
- security_hole(0);
- exit(0);
- }
- if ( rpm_check( reference:"openssh-askpass-3.1p1-14", release:"RHEL2.1") )
- {
- security_hole(0);
- exit(0);
- }
- if ( rpm_check( reference:"openssh-askpass-gnome-3.1p1-14", release:"RHEL2.1") )
- {
- security_hole(0);
- exit(0);
- }
- if ( rpm_check( reference:"openssh-clients-3.1p1-14", release:"RHEL2.1") )
- {
- security_hole(0);
- exit(0);
- }
- if ( rpm_check( reference:"openssh-server-3.1p1-14", release:"RHEL2.1") )
- {
- security_hole(0);
- exit(0);
- }
-
- if ( rpm_exists(rpm:"openssh-", release:"RHEL2.1") )
- {
- set_kb_item(name:"CAN-2003-0682", value:TRUE);
- set_kb_item(name:"CAN-2003-0693", value:TRUE);
- set_kb_item(name:"CAN-2003-0695", value:TRUE);
- }
-
- set_kb_item(name:"RHSA-2003-280", value:TRUE);
-